/* Vuetify Helper CSS Cheatsheet (for reference only)
 * 说明：以下为“当前页面示例涉及的 Helper 类”的近似复刻，
 * 使用主题 CSS 变量以保持在不同主题下的正确取色；
 * 具体实现可能随 Vuetify 版本而变化，请以官方源码为准。
 */

/* --- Typography --- */
.text-h4 { font-size: 2.125rem; line-height: 2.5rem; font-weight: 400; }
.text-h5 { font-size: 1.5rem; line-height: 2rem; font-weight: 400; }
.text-h6 { font-size: 1.25rem; line-height: 2rem; font-weight: 500; }
.text-subtitle-1 { font-size: 1rem; line-height: 1.75rem; font-weight: 400; }
.text-subtitle-2 { font-size: .875rem; line-height: 1.375rem; font-weight: 500; }
.text-body-1 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.text-body-2 { font-size: .875rem; line-height: 1.25rem; font-weight: 400; }
.text-caption { font-size: .75rem; line-height: 1.25rem; font-weight: 400; }

/* Emphasis（依赖主题 on-surface）*/
.text-high-emphasis { color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity, .87)) !important; }
.text-medium-emphasis { color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity, .60)) !important; }
.text-disabled { color: rgba(var(--v-theme-on-surface), var(--v-disabled-opacity, .38)) !important; }

/* Alignment / Truncate */
.text-center { text-align: center !important; }
.text-end { text-align: end !important; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* --- Colors (主题色) --- */
/* 背景 */
.bg-background { background-color: rgb(var(--v-theme-background)) !important; }
.bg-surface { background-color: rgb(var(--v-theme-surface)) !important; }
.bg-surface-variant { background-color: rgb(var(--v-theme-surface-variant)) !important; }
.bg-primary { background-color: rgb(var(--v-theme-primary)) !important; color: rgb(var(--v-theme-on-primary)); }
.bg-secondary { background-color: rgb(var(--v-theme-secondary)) !important; color: rgb(var(--v-theme-on-secondary)); }
.bg-success { background-color: rgb(var(--v-theme-success)) !important; color: rgb(var(--v-theme-on-success)); }
.bg-info { background-color: rgb(var(--v-theme-info)) !important; color: rgb(var(--v-theme-on-info)); }
.bg-warning { background-color: rgb(var(--v-theme-warning)) !important; color: rgb(var(--v-theme-on-warning)); }
.bg-error { background-color: rgb(var(--v-theme-error)) !important; color: rgb(var(--v-theme-on-error)); }

/* 文本颜色 */
.text-primary { color: rgb(var(--v-theme-primary)) !important; }
.text-secondary { color: rgb(var(--v-theme-secondary)) !important; }
.text-success { color: rgb(var(--v-theme-success)) !important; }
.text-info { color: rgb(var(--v-theme-info)) !important; }
.text-warning { color: rgb(var(--v-theme-warning)) !important; }
.text-error { color: rgb(var(--v-theme-error)) !important; }

/* --- Spacing (默认 1 = 4px) --- */
/* margin */
.ma-0 { margin: 0 !important; }
.ma-2 { margin: 8px !important; }
.ma-4 { margin: 16px !important; }
.ma-8 { margin: 32px !important; }
.mx-4 { margin-left: 16px !important; margin-right: 16px !important; }
.my-4 { margin-top: 16px !important; margin-bottom: 16px !important; }

/* padding */
.pa-0 { padding: 0 !important; }
.pa-2 { padding: 8px !important; }
.pa-4 { padding: 16px !important; }
.pa-8 { padding: 32px !important; }
.px-6 { padding-left: 24px !important; padding-right: 24px !important; }
.py-6 { padding-top: 24px !important; padding-bottom: 24px !important; }

/* --- Display --- */
.d-inline { display: inline !important; }
.d-inline-flex { display: inline-flex !important; }
.d-block { display: block !important; }
.d-none { display: none !important; }

/* --- Flex & Alignment --- */
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.justify-start { justify-content: flex-start !important; }
.justify-center { justify-content: center !important; }
.justify-end { justify-content: flex-end !important; }
.justify-space-between { justify-content: space-between !important; }
.align-center { align-items: center !important; }

/* --- Elevation（近似）--- */
.elevation-0 { box-shadow: none !important; }
.elevation-2 { box-shadow: 0 2px 2px rgba(0,0,0,.14), 0 1px 5px rgba(0,0,0,.12) !important; }
.elevation-6 { box-shadow: 0 6px 10px rgba(0,0,0,.14), 0 1px 18px rgba(0,0,0,.12) !important; }
.elevation-12 { box-shadow: 0 12px 17px rgba(0,0,0,.14), 0 3px 22px rgba(0,0,0,.12) !important; }
.elevation-24 { box-shadow: 0 24px 38px rgba(0,0,0,.14), 0 9px 46px rgba(0,0,0,.12) !important; }

/* --- Rounded --- */
.rounded-0 { border-radius: 0 !important; }
.rounded-sm { border-radius: 4px !important; }
.rounded { border-radius: 8px !important; }
.rounded-lg { border-radius: 12px !important; }
.rounded-xl { border-radius: 16px !important; }
.rounded-pill { border-radius: 9999px !important; }

/* --- Overflow --- */
.overflow-hidden { overflow: hidden !important; }
.overflow-auto { overflow: auto !important; }

/* --- Sizing --- */
.w-25 { width: 25% !important; }
.w-50 { width: 50% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

/* --- Position --- */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.top-0 { top: 0 !important; }
.right-0 { right: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.left-0 { left: 0 !important; }

